package com.group3.pojo.receive;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.group3.domain.StudentWork;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName SubmitWorkReceive
 * @Author WenhaoChen
 * @Date 2021/7/8 14:38
 **/
@Data
public class SubmitWorkReceive {

    private Integer workId;

    private String content;

    private Integer state;

    private String[] fileUrl;

    public StudentWork getStudentWork(){
        StudentWork studentWork = new StudentWork();

        studentWork.setWorkId(workId);
        studentWork.setContent(content);
        studentWork.setState(state);

        return studentWork;
    }
}
